<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class TestFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name' => $this->faker->name,
            'password' => md5('123456'),
            'phone' => '139'.rand(11111111,99999999),
            'status' => 1,
            'is_admin' => 1
        ];
    }
}
